package cn.kgc.goodsdemo.dao;

import cn.kgc.goodsdemo.pojo.Goodssort;
import cn.kgc.goodsdemo.pojo.GoodssortExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface GoodssortMapper {
    int countByExample(GoodssortExample example);

    int deleteByExample(GoodssortExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Goodssort record);

    int insertSelective(Goodssort record);

    List<Goodssort> selectByExample(GoodssortExample example);

    Goodssort selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Goodssort record, @Param("example") GoodssortExample example);

    int updateByExample(@Param("record") Goodssort record, @Param("example") GoodssortExample example);

    int updateByPrimaryKeySelective(Goodssort record);

    int updateByPrimaryKey(Goodssort record);
}